<div class="row m-n">
    <div class="crumbs-bar">
        <div yb-crumbs></div>
    </div>
    <div tabset type="tab">
        <div tab heading="借用退回单" active="activeFlag[0]" ng-click="changeTab(0)">
            <div class="row wrapper-y-sm">
                <div class="search-bar wrapper-none col-xs-12">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color" ng-click="search()" title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                        <button type="button" class="btn btn-default base-color" title="配置表格列"
                                ng-click="switchToolbar('ColConfig');">
                            <i class="yb-icon ico-set"></i>
                        </button>
                        <div class="btn btn-default base-color" ng-if="!!btnPermission.serviceBorrowInExport">
                            <div title="导出">
                                <i class="yb-icon ico-export-o"></i>
                            </div>
                            <ul class="more-tool">
                                <li yb-download download-url="exportParam.sectionUrl" download-param="exportParam.sectionParam"
                                    download-key="ids">
                                    <i class="yb-icon ico-export-o"></i> 导出
                                </li>
                                <li yb-download download-url="exportParam.allUrl" download-param="condition" download-duration="3">
                                    <i class="yb-icon ico-export-o"></i> 导出全部
                                </li>
                            </ul>
                        </div>
                    </div>
                    <button class="btn-advance pull-right m-l-xs" ng-click="switchToolbar('AdvanceSearch')">高级搜索</button>
                    <div class="input-group pull-right clearfix">
                        <input type="text" class="form-control txt-search" placeholder="退回单号"
                               ng-model="condition.borrowInNo">
                        <span class="input-group-addon cursor-pointer" ng-click="search(1)">搜索</span>
                    </div>
                </div>
            </div>
            <div yb-advance-search show-toolbar="toolbarConfig.showAdvanceSearch" search-data="search(1)" reset-data="reset()">
                <div class="advance-search m-t-sm">
                    <div class="form-group clearfix">
                        <label class="control-label">退回单号：</label>
                        <input type="text" ng-model="condition.borrowInNo" class="form-control" ></textarea>
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label">借用单号：</label>
                        <input type="text" ng-model="condition.borrowOutNo" class="form-control">
                    </div>

                    <div class="form-group clearfix">
                        <label class="control-label">服务人员：</label>
                        <input type="text" ng-model="condition.serviceStaffName" class="form-control">
                    </div>
                </div>
            </div>
            <div yb-col-config show-toolbar="toolbarConfig.showColConfig" ng-model="tableConfig" col-fixed="true"
                 has-check-col="true" set-tb-style="setFixedWidth()"></div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap fix-left" ele-count="4" scroll-area="right">
                    <div class="th-fixed">
                        <table class="table-fixed border-none" width="{{tableConfig.fixedWidth}}">
                            <thead>
                            <tr>
                                <th width="40" class="text-center th-check border-l-none">
                                    <div yb-check-box yb-checked="markInfo.allCheckedList" yb-click="selectAll(dataList, 'List')"></div>
                                </th>
                                <th ng-repeat="itemCol in tableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-click="toSort(tableConfig.tableCol, $index)" ng-show="!!itemCol.isShow && !!itemCol.isFixed">
                                    <div yb-thead-operate ng-model="itemCol" target-width="tableConfig.fixedWidth" fixed-width="tbStyle.billFixedWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="th-scroll-x" ng-style="tbStyle.billFixedWidth">
                        <table class="table-fixed border-none" width="{{tableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th ng-repeat="itemCol in tableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-click="toSort(tableConfig.tableCol, $index)" ng-show="!!itemCol.isShow && !itemCol.isFixed">
                                    <div yb-thead-operate ng-model="itemCol" target-width="tableConfig.scrollWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll-y" ng-show="dataList.length > 0">
                        <table class="table-fixed border-none" width="{{tableConfig.fixedWidth}}">
                            <tbody>
                            <tr ng-repeat="item in dataList track by $index" ng-class="{'row-selected': $index === markInfo.cueRow}">
                                <td width="40" class="text-center border-l-none">
                                    <div yb-check-box yb-checked="item.isChecked" yb-click="selectSingle(item, dataList, 'Bill')"></div>
                                </td>
                                <td class="spill-dots" ng-repeat="itemCol in tableConfig.tableCol track by $index"
                                    width="{{itemCol.width}}" ng-show="!!itemCol.isShow && !!itemCol.isFixed"
                                    title="{{item[itemCol.dataField]}}">
                                    <span ng-if="!itemCol.clickFn && itemCol.type !== 'operate'">{{item[itemCol.dataField]}}</span>
                                    <a class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)" ng-if="!!itemCol.clickFn">
                                        {{item[itemCol.dataField]}}
                                    </a>
                                    <div class="font-0" ng-if="itemCol.type === 'operate'">
                                        <!--ng-disabled="item.guaraenteesStatus != '0' && item.guaraenteesStatus != '3' || !btnPermission.guaranteesApplyEdit"-->
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="printBill(item)"
                                                ng-disabled="!btnPermission.serviceBorrowInPrint"
                                                title="{{!btnPermission.serviceBorrowInPrint?'无权限执行此操作':''}}">打印</button>
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="finishBillAll(item.borrowInNo)"
                                                ng-disabled="item.status !== 1||!btnPermission.serviceBorrowInFinish"
                                                title="{{!btnPermission.serviceBorrowInFinish?'无权限执行此操作':''}}">结单</button>
                                        <button ng-if="curOrg.isBarcode === 0" type="button" class="btn btn-operate m-r-xs" ng-click="receive(item)"
                                                ng-disabled="item.status === 2||item.status === 3||!btnPermission.serviceBorrowInReceive"
                                                title="{{!btnPermission.serviceBorrowInReceive?'无权限执行此操作':''}}">入库</button>
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="editBorrowIn(item)"
                                                ng-disabled="item.status===2 || item.status === 3||!btnPermission.serviceBorrowInEdit"
                                                title="{{!btnPermission.serviceBorrowInEdit?'无权限执行此操作':''}}">编辑</button>
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="delBorrowIn(item.id)"
                                                ng-disabled="item.status!==0||!btnPermission.serviceBorrowInDelete"
                                                title="{{!btnPermission.serviceBorrowInDelete?'无权限执行此操作':''}}">删除</button>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="dataList.length > 0" ng-style="tbStyle.billFixedWidth">
                        <table class="table-fixed border-none" width="{{tableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in dataList track by $index" ng-class="{'row-selected': $index === markInfo.cueRow}">
                                <td class="spill-dots" ng-repeat="itemCol in tableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-show="!!itemCol.isShow && !itemCol.isFixed" title="{{item[itemCol.dataField]}}">
                                    <span ng-if="!itemCol.clickFn && itemCol.type !== 'operate'">{{item[itemCol.dataField]}}</span>
                                    <a class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)" ng-if="!!itemCol.clickFn">
                                        {{item[itemCol.dataField]}}
                                    </a>
                                    <div class="font-0" ng-if="itemCol.type === 'operate'">
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="editBorrowIn(item)"
                                                ng-disabled="item.guaraenteesStatus != '0' && item.guaraenteesStatus != '3' || !btnPermission.guaranteesApplyEdit"
                                                title="{{!btnPermission.guaranteesApplyEdit?'无权限执行此操作':''}}">编辑</button>
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="delBorrowIn(item.id)"
                                                ng-disabled="item.outEnable == 2 || !btnPermission.guaranteesApplyDel"
                                                title="{{!btnPermission.guaranteesApplyDel?'无权限执行此操作':''}}">删除</button>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="dataList.length === 0">暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-check-box class="m-t-xs m-r-sm" yb-checked="markInfo.allCheckedList" yb-check-name="全选"
                     yb-click="selectAll(dataList, 'List')"></div>
                <button class="btn btn-operate" ng-click="batchDelBorrowIn()"  ng-disabled="!btnPermission.serviceBorrowInDelete"
                        title="{{!btnPermission.serviceBorrowInDelete?'无权限执行此操作':''}}">批量删除</button>
                <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
            </div>
        </div>
        <div tab heading="{{tabFlag.name}}" active="activeFlag[2]" ng-if="activeFlag[2]">
            <form name="orderForm" class="m-t-sm form-horizontal form-up-tb border-b clearfix" novalidate>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">借用退回单号：</label>
                    <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                        {{orderObj.serviceBorrowInVO.borrowInNo?orderObj.serviceBorrowInVO.borrowInNo:'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">借用单号：</label>
                    <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                        {{orderObj.serviceBorrowInVO.borrowOutNo}}
                    </label>
                </div>

                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">制单人：</label>
                    <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                        {{orderObj.serviceBorrowInVO.createName}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">制单日期：</label>
                    <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                        {{(orderObj.serviceBorrowInVO.createDate|YbDate:'yyyy-MM-dd HH:mm:ss') || '-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">服务人员：</label>
                    <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                        {{orderObj.serviceBorrowInVO.serviceStaffName}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100"><i ng-if="tabFlag.type === 1">*</i>退回仓库：</label>
                    <label ng-if="tabFlag.type === 2" class="col-xs-8 control-label p-l-n text-left spill-dots">
                        {{orderObj.serviceBorrowInVO.warehouseCode}}
                    </label>
                    <div ng-if="tabFlag.type === 1" class="col-xs-8 wrapper-none">
                        <div yb-form-clear ng-model="orderObj.serviceBorrowInVO.warehouseCode" select-obj="selectWarehouse()"
                             clear-form="clearWarehouse()" tips-name="退回仓库" form-require="true"></div>
                             <div class="msg-block" ng-if="!orderObj.serviceBorrowInVO.warehouseCode && submitted">
                                <div class="error-msg">
                                    <div class="msg-triangle"></div>
                                    退回仓库
                                </div>
                            </div>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">备注：</label>
                    <div class="col-xs-8 wrapper-none">
                        <input type="text" name="remark" class="form-control" ng-model="orderObj.serviceBorrowInVO.remark" maxlength="200">
                    </div>
                </div>
                <div class="form-group col-xs-12" style="margin: 0">
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100">总价：</label>
                    <label class="col-xs-8 control-label p-l-n text-left spill-dots" title="{{orderObj.serviceBorrowInVO.totalPrice}}">
                        {{orderObj.serviceBorrowInVO.totalPrice}}
                    </label>
                </div>
            </form>
            <div class="row wrapper-y-xs">
                <div class="col-xs-12 operate-bar font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="batchDelMateriel()">批量删除</button>
                </div>
            </div>
            <div materiel-selector show-toolbar="toolbarConfig.showMateriel" selected-list="orderObj.detailVOList"
                 goal-type="salesSlip"></div>
            <div class="main-area d-b-60" ng-style="{top: '220px'}">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th width="40" class="th-check text-center">
                                    <div yb-check-box yb-checked="markInfo.allCheckedMaterial"
                                         yb-click="selectAll(orderObj.detailVOList, 'Material')"></div>
                                </th>
                                <th width="60">
                                    操作
                                </th>
                                <th ng-repeat="itemCol in materielTableConfig.tableCol track by $index" width="{{itemCol.width}}" ng-if="!itemCol.hidden">
                                    <div yb-thead-operate ng-model="itemCol" target-width="materielTableConfig.scrollWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="orderObj.detailVOList.length > 0">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in orderObj.detailVOList track by $index; rowIndex = $index">
                                <td width="40" class="text-center">
                                    <div yb-check-box yb-disabled="item.status != 0" yb-checked="item.isChecked" yb-click="selectSingle(item, orderObj.detailVOList, 'Material')"></div>
                                </td>
                                <td width="60">
                                    <button ng-disabled="item.status != 0" type="button" class="btn btn-operate" ng-click="delMateriel($index)">删除</button>
                                </td>
                                <td ng-repeat="itemCol in materielTableConfig.tableCol track by $index" width="{{itemCol.width}}" ng-if="!itemCol.hidden"
                                    ng-class="{'wrapper-none': itemCol.inputType === 'func'}">
                                    <div class="spill-dots" ng-if="!itemCol.input" title="{{item[itemCol.dataField]}}">
                                        <a class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)" ng-if="!!itemCol.clickFn">
                                            {{item[itemCol.dataField]}}
                                        </a>
                                        <span ng-if="!itemCol.clickFn">
                                        {{item[itemCol.dataField]}}
                                        </span>
                                    </div>
                                    <div ng-if="itemCol.input && itemCol.inputType === 'num'" class="td-edit pos-r" title="{{item[itemCol.dataField]}}">
                                        <span ng-if="item.status===2||item.status===3">{{item[itemCol.dataField]}}</span>
                                        <input ng-if="item.status===0||item.status===1" type="text" class="form-control" ng-model="item[itemCol.dataField]" ng-change="setTotalPrice()" yb-number-input
                                               max="99999999.99"  disable-decimal="false" decimal-places="3"
                                               ng-class="{'error': item.qtyErr}">
                                        <div class="pos-a tool-tips" ng-if="!!item.qtyErr">
                                            <i class="triangle"></i>
                                            <div class="msg">{{item.qtyErrMsg}}</div>
                                        </div>
                                    </div>
                                    <div ng-if="itemCol.input && itemCol.inputType === 'checkbox'" class="text-center">
                                        <div yb-check-box yb-checked="item['isChecked']"
                                             yb-click="checkItem(item, itemCol.dataField)"></div>
                                    </div>

                                    <div ng-if="itemCol.input && itemCol.inputType === 'time'" class="td-edit pos-r"
                                         title="{{item[itemCol.dataField]}}">
                                        <input type="text" class="form-control date-picker cursor-pointer"
                                               ng-model="item[itemCol.dataField]" datepicker-popup="{{'yyyy-MM-dd'}}" ng-click="switchListDatePicker(item)"
                                               at-right="true" is-open="item.showDatePicker" close-text="关闭"
                                               ng-class="{'error': item.dateErr && !item[itemCol.dataField]}" readonly>
                                        <div class="pos-a tool-tips" ng-if="!!item.dateErr && !item[itemCol.dataField]">
                                            <i class="triangle"></i>
                                            <div class="msg">发货日期不能为空</div>
                                        </div>
                                    </div>
                                    <div ng-if="itemCol.input && itemCol.inputType === 'note'" class="td-edit pos-r"
                                         title="{{item[itemCol.dataField]}}">
                                        <input type="text" name="remark" class="form-control" ng-model="item[itemCol.dataField]" maxlength="60">
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="orderObj.detailVOList.length === 0">暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area btn-bar text-center clearfix">
                <button type="button" class="btn btn-primary m-r-sm" ng-click="saveData(orderForm.$valid)">提交</button>
                <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>
            </div>
        </div>
        <div tab heading="{{tabFlag.name}}" active="activeFlag[3]" ng-if="activeFlag[3]">
            <div class="m-t-sm form-up-tb clearfix">
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">借用退回单号：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.serviceBorrowInVO.borrowInNo || '-'}}">
                        {{orderObj.serviceBorrowInVO.borrowInNo || '-'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">借用单号：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.serviceBorrowInVO.borrowOutNo || '-'}}">
                        {{orderObj.serviceBorrowInVO.borrowOutNo || '-'}}
                    </div>
                </div>

                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">制单人：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.serviceBorrowInVO.createName || '-'}}">
                        {{orderObj.serviceBorrowInVO.createName || '-'}}
                    </div>
                </div>

                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">制单日期：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.serviceBorrowInVO.createDate || '-'}}">
                        {{(orderObj.serviceBorrowInVO.createDate|YbDate:'yyyy-MM-dd HH:mm:ss') || '-'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">服务人员：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{(orderObj.createDate|YbDate:'yyyy-MM-dd HH:mm:ss')||'-'}}">
                        <!-- {{(orderObj.createDate|YbDate:'yyyy-MM-dd HH:mm:ss') || "-"}} -->
                        {{orderObj.serviceBorrowInVO.serviceStaffName || "-"}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">退回仓库：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.consignee ||'-'}}">
                        {{orderObj.serviceBorrowInVO.warehouseCode}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">退回单状态：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.consignee ||'-'}}">
                        {{orderObj.serviceBorrowInVO.statusStr}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">备注：</label>
                    <div class="col-xs-8 wrapper-none spill-dots" title="{{orderObj.serviceBorrowInVO.remark ||'-'}}">
                        {{orderObj.serviceBorrowInVO.remark || "-"}}
                    </div>
                </div>
            </div>
            <div class="panel-bar clearfix">
                <div class="pull-left">
                    <i></i>零件信息
                </div>
            </div>
            <div class="row wrapper-y-xs" ng-if="tabFlag.type === 3">
                <div class="col-xs-12 operate-bar font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="multiSelDepot()">批量选择储位</button>
                </div>
            </div>
            <div class="main-area d-b-60" ng-style="{'top':tabFlag.type === 3?'175px':'160px'}">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th width="40" class="th-check text-center" ng-if="tabFlag.type === 3">
                                    <div yb-check-box yb-checked="markInfo.allCheckedMaterial"
                                         yb-click="selectAll(orderObj.detailVOList, 'Material')"></div>
                                </th>
                                <th width="60" ng-if="tabFlag.type === 0">
                                    操作
                                </th>
                                <th ng-if="tabFlag.type !== 3" ng-repeat="itemCol in materielTableConfig.tableCol track by $index" width="{{itemCol.width}}">
                                    <div yb-thead-operate ng-model="itemCol" target-width="materielTableConfig.scrollWidth"></div>
                                </th>
                                <th ng-if="tabFlag.type === 3" ng-repeat="itemCol in outMaterielTbConfig.tableCol track by $index" width="{{itemCol.width}}">
                                    <div yb-thead-operate ng-model="itemCol" target-width="outMaterielTbConfig.scrollWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="orderObj.detailVOList.length > 0">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in orderObj.detailVOList track by $index">
                                <td width="40" class="text-center" ng-if="tabFlag.type === 3">
                                    <div yb-check-box yb-checked="item.isChecked" yb-click="selectSingle(item, orderObj.detailVOList, 'Material')"></div>
                                </td>
                                <td width="60" ng-if="tabFlag.type === 0">
                                    <button type="button" ng-disabled="orderObj.serviceBorrowInVO.status!==1||item.status===2||item.status===3||!btnPermission.serviceBorrowInFinish"
                                            class="btn btn-operate" ng-click="finishBill(orderObj.serviceBorrowInVO.borrowInNo, item.materialsNo, $index)">结单</button>
                                </td>
                                <td class="spill-dots" ng-if="tabFlag.type !== 3" ng-repeat="itemCol in materielTableConfig.tableCol track by $index"
                                    width="{{itemCol.width}}" title="{{item[itemCol.dataField]}}">
                                    {{item[itemCol.dataField]}}
                                </td>
                                <td ng-if="tabFlag.type === 3" ng-repeat="itemCol in outMaterielTbConfig.tableCol track by $index"
                                    width="{{itemCol.width}}" title="{{item[itemCol.dataField]}}" ng-class="{'wrapper-none': itemCol.inputType === 'func'}">
                                    <div ng-if="!(itemCol.inputType === 'func' && (item.status == 0 || item.status == 1))" class="spill-dots td-edit pos-r">
                                        {{item[itemCol.dataField]}}
                                    </div>
                                    <div ng-if="itemCol.inputType === 'func' && (item.status == 0 || item.status == 1)" class="td-edit pos-r">
                                        <div yb-form-clear class="td-edit"  ng-model="item[itemCol.dataField]" select-obj="selDepot(item)"
                                             clear-form="clearDepot(item)" tips-name="储位"
                                             title="{{item[itemCol.dataField]}}" ng-class="{'error': !!item.locationErr}">
                                        </div>
                                        <div class="pos-a tool-tips" ng-if="!!item.locationErr && !item.locationCode">
                                            <i class="triangle"></i>
                                            <div class="msg">请选择储位</div>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="orderObj.detailVOList.length === 0">暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area btn-bar text-center clearfix">
                <button type="button" class="btn btn-primary m-r-sm" ng-click="confirmReceive()" ng-if="tabFlag.type === 3">确认入库</button>
                <button type="button" class="btn btn-default" ng-click="cancel()">返回</button>
            </div>
        </div>
    </div>
</div>
